* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f7fc;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #4CAF50;
    margin-bottom: 40px;
}

h2, h3 {
    color: #4CAF50;
}

.search-bar,
.form-section,
.book-select-section {
    margin-bottom: 30px;
}

.search-bar input,
.form-section input,
.form-section textarea,
.book-select-section select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.search-bar button,
.form-section button,
.book-select-section button {
    padding: 12px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.search-bar button:hover,
.form-section button:hover,
.book-select-section button:hover {
    background-color: #45a049;
}

textarea {
    height: 150px;
}

.search-results ul {
    list-style-type: none;
    padding: 0;
}

.search-results li {
    background-color: #fff;
    margin: 10px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-results li button {
    background-color: #007bff;
    border-radius: 4px;
    padding: 6px 12px;
    color: white;
    cursor: pointer;
}

.search-results li button:hover {
    background-color: #0056b3;
}

.export-section {
    text-align: center;
}

.form-actions {
    display: flex;
    justify-content: space-between;
}

.form-actions button {
    width: 48%;
}

.book-select-section select {
    width: 80%;
    margin-right: 10px;
}

.book-select-section button {
    width: 18%;
}

#bookDetails {
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
}

@media (max-width: 768px) {
    .search-bar,
    .form-section,
    .book-select-section {
        margin-bottom: 20px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
        margin-bottom: 10px;
    }

    .book-select-section select,
    .book-select-section button {
        width: 100%;
    }
}

